using UnityEngine;

public class butShootFromHelicopter : MonoBehaviour
{
	private void OnPress(bool isDown)
	{
		if (GameController.instance.carScript != null)
		{
			if (isDown)
			{
				GameController.instance.carScript.startShoot();
			}
			else
			{
				GameController.instance.carScript.cancelShoot();
			}
		}
	}
}
